package com.hailian.fintech.hlfinanceserver.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hailian.fintech.hlcomm_interfaceserver.dto.YingyeDto;
import com.hailian.fintech.hlfinanceserver.entity.Yingye;
import com.hailian.fintech.hlfinanceserver.vo.YingyeVo;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;

import java.beans.IntrospectionException;
import java.io.InputStream;
import java.lang.reflect.InvocationTargetException;
import java.text.ParseException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wk
 * @since 2020-05-23
 */
public interface IYingyeService extends IService<Yingye> {

    XSSFWorkbook downLoadGoodsExcel(YingyeDto yingyeDto) throws InvocationTargetException, ClassNotFoundException, IntrospectionException, ParseException, IllegalAccessException;

    void uploadExcel(InputStream inputStream, String originalFilename) throws Exception;

    IPage<YingyeVo> selectPageVo(Page<?> page, YingyeVo yingyeVo);

}
